import request from '@/utils/request'

// 查询feike列表
export function listCurrently(query) {
  return request({
    url: '/feike/currently/list',
    method: 'get',
    params: query
  })
}

// 查询feike详细
export function getCurrently(id) {
  return request({
    url: '/feike/currently/' + id,
    method: 'get'
  })
}

// 新增feike
export function addCurrently(data) {
  return request({
    url: '/feike/currently',
    method: 'post',
    data: data
  })
}

// 修改feike
export function updateCurrently(data) {
  return request({
    url: '/feike/currently',
    method: 'put',
    data: data
  })
}

// 删除feike
export function delCurrently(id) {
  return request({
    url: '/feike/currently/' + id,
    method: 'delete'
  })
}

// 导出feike
export function exportCurrently(query) {
  return request({
    url: '/feike/currently/export',
    method: 'get',
    params: query
  })
}